import { Controller, Get, Query, Param, Body, Put } from '@nestjs/common'
import { UserService } from './user.service'

@Controller('user')
export class UserController {
	constructor(private readonly userSrvice: UserService) { }

	@Get('get')
	getAttachment(@Query() query): Promise<any> {
		return this.userSrvice.getAttachment(query);
	}
}